package org.zuel.boot.demo.service;

import org.zuel.boot.demo.exception.BizException;
import org.zuel.boot.demo.model.DemoUser;
//先声明，后实现
public interface IUserService {
    Object regist(DemoUser model)throws BizException;

    Object login(DemoUser model)throws BizException;


    Object list(String username, String nickname, Integer sex, String con,
                Integer page, Integer limit, String sort, String order);

    Object read(Integer id);
    /**
     * 用户登陆
     */
    Object login2(DemoUser model);

    /**
     * 登出
     */
    Object logout();

    /**
     * show me
     */
    Object showMe();
}
